package com.spring.until;


import java.util.HashMap;
import java.util.Objects;

public class SessionUtils {
    private static HashMap<UserPass,String> codeMap  = new HashMap<>();
    public static String getCode(UserPass userpass){
        return codeMap.get(userpass) ;
    }
    public static void addCode(UserPass userpass , String code){
        codeMap.put(userpass,code) ;
    }
}

